package com.lin.missyou.manager.rocketmq;

import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Conditional;
import org.springframework.context.annotation.Configuration;

@Configuration
public class RocketMQConfiguration {

    @Bean
    public ProducerSchedule getProducerSchedule() {
        return new ProducerSchedule();
    }

    @Bean
    public ConsumerSchedule getConsumerSchedule() {
        return new ConsumerSchedule();
    }
}
